Skip to content

Identify abortion with dumping empty DataFrame#451

Merged
kitagry merged 1 commit intom3dev:masterfrom
mamo3gr:feat/raise-specific-exception-with-empty-dump
Mar 6, 2025
Merged

Identify abortion with dumping empty DataFrame#451
kitagry merged 1 commit intom3dev:masterfrom
mamo3gr:feat/raise-specific-exception-with-empty-dump

Conversation

@mamo3gr
Copy link
Copy Markdown
Contributor

@mamo3gr mamo3gr commented Mar 5, 2025

Objective

When a task failed and raised an exception, we want to identify whether its reason is dumping an empty DataFrame (with fail_on_empty_dump option) or the others.

Implementation

Raise specific exception for that case.

@mamo3gr mamo3gr requested review from hirosassa and kitagry March 5, 2025 23:11
Copy link
Copy Markdown
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a comment but LGTM

Comment thread gokart/task.py
Copy link
Copy Markdown
Member

@kitagry kitagry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

@kitagry kitagry merged commit c06f7cb into m3dev:master Mar 6, 2025
@mamo3gr mamo3gr deleted the feat/raise-specific-exception-with-empty-dump branch March 6, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants